///////////////////////////////////////////////////////////////////////////////
//-----------------------------------------------------------------------------
#ifndef __MATERIAL_MANAGER_H__
#define __MATERIAL_MANAGER_H__
//-----------------------------------------------------------------------------

#include <Config.h>
#include <AbstractManager.h>
#include <vector>
#include <string>

class	Material;

//-----------------------------------------------------------------------------

class MaterialManager
	: public AbstractManager<MaterialManager>
{
private:
	void									ReleaseMaterials();

	std::vector<Material*>					m_materials;

public:
											MaterialManager();
	virtual									~MaterialManager();

	void									AddMaterial(Material* mat);
	
	bool									HaveMaterial( std::string name );
	Material*								GetMaterial( std::string name );
};

#endif //__MATERIAL_MANAGER_H__
//-----------------------------------------------------------------------------
///////////////////////////////////////////////////////////////////////////////
